<?php

return [
    'sign'    => [
        'verify' => [
            'success' => 'Sign verification success!',
            'fail'    => 'Sign verification failed.',
        ],
    ],
    'token'   => [
        'invalid' => 'Token is invalid.',
    ],
    'mch'     => [
        'not_found'       => 'Merchant information was not found.',
        'not_active'      => 'Merchant is not activated.',
        'not_review'      => 'Merchant information was not reviewed.',
        'not_support_api' => 'Merchant is not support API.',
    ],
    'mch_url' => [
        'not_found'     => 'Merchant website was not found.',
        'not_available' => 'Merchant website is not available.',
        'not_review'    => 'Merchant website was not reviewed.',
    ],
    'order'   => [
        'not_found' => 'Order was not found.',
        'status'    => [
            'traded' => 'Order has been traded.',
        ],
    ],
    'type'    => [
        'not_support' => 'The payment type is not supported.',
        'option'      => [
            'debit'      => 'Debit card',
            'credit'     => 'Credit card',
            'alipay'     => 'Alipay',
            'wechat_pay' => 'Wechat pay',
        ],
    ],
    'channel' => [
        'no_available' => "Can't find an available payment channel.",
    ],
    'rate'    => [
        'fail' => 'Unable to get the exchange rate.',
    ],
    'risk'    => [
        'log_label' => 'Module Risk',
        'no_response' => 'Risk control module has no response.',
        'cost'        => [
            'restore_fail' => 'Fail to restore channel cost limit.',
        ],
    ],
    'bank'    => [
        'log_label' => 'Module Bank',
        'no_response' => 'Bank payment module has no response.',
    ],

    'account' => [
        'credit' => [
            'unknown_type'     => 'Unknown card type.',
            'mismatched'       => 'The card number and card type information is incorrect or mismatched.',
            'cvv_fail'         => 'Credit card CVV verification failed.',
            'date_fail'        => 'Credit card expiration date verification failed.',
            'not_support_type' => 'Not support :type card transactions.',
        ],
    ],
];
